import ReactECharts from "echarts-for-react";

const Emm04_2 = (props) => {
  // echarts Demo 数据
  const options = {
    title: {
      text: '省部级平台数top-5学科',
      left: 'center'
    },
    tooltip: {
      trigger: 'item'
    },
    series: [
      {

        type: 'pie',
        radius: ['40%', '70%'],
        // avoidLabelOverlap: false,
        label: {
          show: false,
          position: 'center'
        },
        emphasis: {
          label: {
            show: true,
            fontSize: '15',
            fontWeight: 'bold'
          }
        },
        labelLine: {
          show: false
        },
        data: [
          { value: 12, name: '南昌大学绿色食品' },
          { value: 14, name: '南昌大学流域碳中和' },
          { value: 16, name: '江西财经大学应用统计学' },
          { value: 13, name: '江西农业大学畜牧学' },
          { value: 8, name: '东华理工大学地质资源与地质工程' }
        ]
      }
    ]
  };

  return <ReactECharts style={{width: 500, height: 400}} option={options} />
}

export default Emm04_2
